#ifndef ADMINISTRATOR_H
#define ADMINISTRATOR_H

#include "InsertDatabase.h"
#include "SelectDataBase.h"

#include <QWidget>

namespace Ui {
class AdministratorSpells;
}

class Administrator : public QWidget
{
    Q_OBJECT

public:
    Administrator();
    ~Administrator();

    void displaySpellsAdmin();

private:
    Ui::AdministratorSpells *ui;
    InsertDataBase          *insertData;
    SelectDataBase          *selectData;

    void generateStringD(QString *str, int *deg_r);
    void majComboEffect (QList<QString> list);


public slots:
    void addElem();
    void addClass();
    void addEffect();
    void addRace();
    void addSpell();
};

#endif // ADMINISTRATOR_H
